Repository navigation
feat: keep a directory and build registry.json from it - #5
Merged
Merged
Conversation
directory.json holds the reviewers' display info and pins each plugin's godwit-plugin.json by commit; publish joins them into the same signed registry.json at the same URL (Godwit ADR 0032). The releases are unchanged. The published registry gains category, publisher and dataFlow. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
Publisher is one plain string shown in every language. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
core/plugins now imports internal/i18n, whose catalog is generated and not committed, so `go run ./cmd/godwit-registry` no longer compiles from a plain checkout. This also fails on main today. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
zh-Hans is the language Godwit uses; zh-CN only reached it through tag matching. Published releases keep their manifests, since editing one would revoke it. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
这个仓库不再手写
registry.json,改为维护directory.json,用提交 SHA 指向各插件的godwit-plugin.json。CI 合成后签名,发布到原来的 URL(Godwit ADR 0032)。dlxplugin-dlx@717b8382startluxplugin-startlux@36d8e2e8Zen Free 不在这个 PR 里,要另外发布。
Egress: 没有新增。CI 多访问
raw.githubusercontent.com,应用的请求不变。Evidence
用 Godwit
main的工具,从真实 GitHub 提交合成,和线上registry.json比对(忽略updated):另外,两个插件
summary的中文键从zh-CN改为zh-Hans,这是应用实际使用的语言代码,文案没变。版本、文件和资源都没有变化,已发布版本
manifest里的zh-CN也保留,因为改动已发布版本会让它被撤销。这个 PR 的 Publish 检查摘要里会显示同样的差异,并由check --fetch下载每个文件校验。Merge Danger
Door: two-way
合并后立刻重新签名并发布。回退只需还原这个 PR,新的
updated也能被应用接受。Blast Radius: 所有用户的插件目录
如果合成结果漏掉某个版本,已安装它的用户会被当作撤销,所以合并前要确认差异只有上面这些。旧版应用会忽略新字段。
🤖 Generated with Claude Code